﻿
namespace FlexPlatform.Shared.DataModel
{
    using System;
    using System.ComponentModel;

    using FlexPlatform.Shared.Events;

    public interface IDataEntity : IEntityWithPresenter, INotifyPropertyChanged
    {
        /// <summary>
        /// The event raised by the Data Entity when a property is about to be updated.
        /// </summary>
        event EventHandler<BeforeProperyChangeEventArgs> BeforePropertyChange;
    }
}
